//
//  LanBCrashReport.h
//  AFNetworking
//
//  Created by v on 2020/12/12.
//

#import <Foundation/Foundation.h>

NS_ASSUME_NONNULL_BEGIN

@interface LanBCrashReport : NSObject

+ (instancetype)shared;
/**
 初始化 crash 收集
 ！！！ STRIP_STYLE = debugging 离线符号化, 包体积增大%5-10%左右
 Add the method to your [application: didFinishLaunchingWithOptions:] method in your app delegate:
 */
- (void)lanb_installWithEmailReporter:(NSString*)email relayHost:(NSString*)relayHost password:(NSString*)password;
- (void)lanb_configCustomInfos:(NSDictionary<NSString*,NSString*>*)infos;

+ (instancetype)new NS_UNAVAILABLE;
- (instancetype)init NS_UNAVAILABLE;

@end

/**
eg: [LanBCrashReport.shared lanb_installWithEmailReporter:@"lobo_ios_crash@163.com" relayHost:@"smtp.163.com" password:@"KIUZKYFHJYOPKYOK"];
*/

NS_ASSUME_NONNULL_END
